package com.durian.financial.api.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * @Author zhouzhiyi
 * @Date 2022/6/28 10:31
 * @Description 租房类型枚举
 */
@Getter
public enum ContractTypeEnum {

    SF(1,"收房"),CF(2,"出房");

    @EnumValue
    private final Integer index;

    private final String value;

    ContractTypeEnum(Integer index, String value) {
        this.index = index;
        this.value = value;
    }
}
